/*
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-10-11 15:55:43
 * @LastEditTime: 2019-10-11 16:28:06
 * @LastEditors: Please set LastEditors
 */
class HttpException extends Error {
    constructor (msg="服务器错误",errorCode=1000,code=400){
        super()
        this.errorCode=errorCode
        this.code=code
        this.msg=msg
    }
}
module.exports={
    HttpException
}